<?php
require_once( "../includes/SprocCalls.php" );

if( !isset( $_POST['selectSpecies'] ) ) {
	die( "Select species was not set.");
}
$sid = $_POST['selectSpecies'];
if( !isset( $_POST['selectSpecies'] ) ) {
	die( "Select region was not set.");
}
$rid = $_POST['selectRegion'];
$uid = 1;
if( !isset( $_POST['population'] ) ) {
	die( "Population was not set." );
}
$population = $_POST['population'];
$c = new SProcCalls;
$c->addSpeciesToRegionProjectDemo( $sid, $rid, $uid, $population );

?>